
import React,{memo} from 'react'

 function Son(props) {
    console.log("Son组件被调用了");

  return (
    <div>
        <h1>子组件</h1>
        <p>价格：{props.price}</p>
    </div>
  )
}

export default memo(Son);